package cnpm.service.impl;

import java.util.List;

import cnpm.dao.LiteracyDAO;
import cnpm.dao.impl.LiteracyDAOImpl;
import cnpm.entity.Literacy;
import cnpm.service.LiteracyService;

public class LiteracyServiceImpl implements LiteracyService {

	private LiteracyDAO literacyDAO;
	
	public LiteracyServiceImpl() {
		literacyDAO = new LiteracyDAOImpl();
	}
	
	@Override
	public List<Literacy> getAllLiteracy() {
		return literacyDAO.getAllLiteracy();
	}

	@Override
	public Literacy getLiteracyByID(int literacyID) {
		return literacyDAO.getLiteracyByID(literacyID);
	}

}
